package com.quectel.core.module.scheduling.service.mongo;

import com.quectel.core.module.scheduling.dto.mongo.MongoOriginalCheckRecordDto;

import java.util.List;
import java.util.Map;

/**
 * 打卡原始记录服务
 *
 * @author caolu
 * @email louis.cao@quectel.com
 */
public interface MongoOriginalCheckRecordService {

    /**
     * 查看打卡记录条数
     *
     * @param params
     * @return
     */
    int queryTotal(Map<String, Object> params);

    /**
     * 查看打卡记录
     *
     * @param params
     * @return
     */
    List<MongoOriginalCheckRecordDto> queryList(Map<String, Object> params);

    /**
     * 保存打卡记录
     *
     * @param mongoOriginalCheckRecordDto
     */
    Long save(MongoOriginalCheckRecordDto mongoOriginalCheckRecordDto);
}
